package guiguli.project.Case01;

/**
    账户类
 */
public class Account {
    /**
      成员变量私有
     */
    private String cardId;
    private String userName;//用户名
    private String password;//密码
    private double money;//账户余额
    private double quotaMoney;//每次取现额度

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public void setQuotaMoney(double quotaMoney) {
        this.quotaMoney = quotaMoney;
    }

    public Account(String cardId, String userName, String password, double money, double quotaMoney) {
        this.cardId = cardId;
        this.userName = userName;
        this.password = password;
        this.money = money;
        this.quotaMoney = quotaMoney;
    }
    public void Account(){

    }
}